<link rel="stylesheet" href="../../css/iconFont/iconfont.css">
<link rel="stylesheet" href="css/contractLibrary/contractLibrary.css">
<style type="text/css" >
  h2{font-size:25px}
  /*字体*/
  @font-face {
    font-family: "iconfont";
    src: url('../../css/iconFont/iconfont.eot'); /* IE9*/
    src: url('../../css/iconFont/iconfont.eot#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../../css/iconFont/iconfont.woff') format('woff'), /* chrome, firefox */
    url('../../css/iconFont/iconfont.ttf') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
    url('../../css/iconFont/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
  }

  .iconfont {
    font-family:"iconfont" !important;
    font-size:14px;
    font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
  }
  .icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
  }
</style>
<!--合同库-->

<div class="wrap" style="background: #f5f5f5;position: relative;top: 7px;">
  <div class="y-team" style="position: absolute;top: 10px;overflow-x: hidden;">
    <!--top-->
    <div class="y-nav clearfix" style="position: relative;margin-left: 20px">
      <h3 class="fl manage" style="margin-top: 10px"><a href="javascript:;">模版库</a></h3>
      <ul class="fl leaguer" >
        <li class="fl"  ui-sref-active="active"><a ui-sref="contractLibraryList" >模版库</a></li>
        <li class="fl"   ui-sref-active="active"><a ui-sref="contractLibraryCollect" >我的收藏</a></li>
      </ul>
    </div>

    <div ui-view="" style="margin-left:20px;" ></div>

  </div>
</div>
<!--最大的父级-->


<script>
  $(window).ready(function () {

    /*设置屏幕高度*/
    setHeight();
    function setHeight() {
      var maxHeight = $(window).height()-60 + 'px';
      $(".y-team").css("height",maxHeight);
      $(".wrap").css("height",maxHeight);
      $(".wrap").css("width",'100%');
    };
    $(window).resize(function() {
      setHeight();
    });

  })
</script>
